package com.wxt.forum.Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//表示返回的结果是数据
@RestController
//定义一级引射路径
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/hello")
    public String hello(){
        return "赵伟华666";
    }
}
